#ifndef _cache_h
#define _cache_h

#include "slice.h"

typedef struct cache *CacheRef;

int newCache(int capx, CacheRef* c);

int insertCache(CacheRef c, const Slice* key, const Slice* value);

int eraseCache(CacheRef c, const Slice* key);

#endif
